//var uname = "tao",password = "123456";
//res = uname === "root" && password === "12346"  ? console.log("登录成功") : console.log("登录失败")；
 var u = "root";
 var p = "123456";
//u == "root" && p == "123456" ? console.log("y") : console.log("n");
k = u == "root" && p == "123456" ? "y": "n";
console.log(k);